package request

import (
	"github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
	model "github.com/flipped-aurora/gin-vue-admin/server/model/goodSpecValueDetail"
	"time"
)

type LsGoodsSearch struct {
	StartCreatedAt   *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
	EndCreatedAt     *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
	GoodType         *string    `json:"goodType" form:"goodType" `
	GoodName         *string    `json:"goodName" form:"goodName" `
	VideoEnable      *int       `json:"videoEnable" form:"videoEnable" `
	VideoSource      *string    `json:"videoSource" form:"videoSource" `
	GoodBrandId      *int       `json:"goodBrandId" form:"goodBrandId" `
	GoodUnit         *string    `json:"goodUnit" form:"goodUnit" `
	GoodSupplier     *int       `json:"goodSupplier" form:"goodSupplier" `
	GoodSpec         *string    `json:"goodSpec" form:"goodSpec" `
	Logistics        *string    `json:"logistics" form:"logistics" `
	ShippingFee      *string    `json:"shippingFee" form:"shippingFee" `
	ServiceGuarantee *string    `json:"serviceGuarantee" form:"serviceGuarantee" `
	GoodStatus       *string    `json:"goodStatus" form:"goodStatus" `
	request.PageInfo
}

//	type GoodInfoRequest struct {
//		GoodBrandId int     `json:"goodBrandId" form:"goodBrandId"`
//		GoodDetail  *string `json:"goodDetail" form:"goodDetail"`
//		GoodName    *string `json:"goodName" form:"goodName"`
//		GoodSpec    *string `json:"goodSpec" form:"goodSpec"`
//	}
type GoodInfoRequest struct {
	GoodBrandId           *int    `json:"goodBrandId" form:"goodBrandId"`
	GoodDetail            *string `json:"goodDetail" form:"goodDetail"`
	GoodName              *string `json:"goodName" form:"goodName"`
	GoodSpec              *string `json:"goodSpec" form:"goodSpec"`
	GoodStatus            *string `json:"goodStatus" form:"goodStatus"`
	GoodSupplier          *int    `json:"goodSupplier" form:"goodSupplier"`
	GoodType              *string `json:"goodType" form:"goodType"`
	GoodUnit              *string `json:"goodUnit" form:"goodUnit"`
	Logistics             *string `json:"logistics" form:"logistics"`
	MenuBtn               []model.GoodSpecValueDetail
	QuotaCode             *string `json:"quotaCode" form:"quotaCode"`
	QuotaCount            *int    `json:"quotaCount" form:"quotaCount"`
	ServiceGuarantee      *string `json:"serviceGuarantee" form:"serviceGuarantee"`
	ShippingFee           *string `json:"shippingFee" form:"shippingFee"`
	ShippingFeeTemplement *int    `json:"shippingFeeTemplement" form:"shippingFeeTemplement"`
	StockLimit            *int    `json:"stockLimit" form:"stockLimit"`
	VideoCover            *string `json:"videoCover" form:"videoCover"`
	VideoEnable           *int    `json:"videoEnable" form:"videoEnable"`
	VideoSource           *string `json:"videoSource" form:"videoSource"`
	VideoUrl              *string `json:"videoUrl" form:"videoUrl"`
	VirtualPageView       *int    `json:"virtualPageView" form:"virtualPageView"`
	VirtualSale           *int    `json:"virtualSale" form:"virtualSale"`
	CreatedBy             uint    `json:"createdBy" form:"createdBy"` //创建者
}
